home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2003 #12 / Amiga Plus CD - 2003 - No. 12.iso / AmigaPlus / Scene / Magazine / Saxonia2 / articles / 005 < prev    next >
Text File  |  2003-07-03  |  2KB  |  44 lines

  1. Formatting the article
  2. By Rumrunner/VOID
  3. [l
  4.  
  5. If you want to format your own article, this is how to do it.
  6.  
  7. To get a line on screen, like the one above, use [[ l command.
  8.  
  9. To change colours, simply use [[ 0 through [[ 2
  10.  
  11. To insert a picture, first convert it to raw format, then use the
  12. following :
  13.  
  14.     [[ b11112222filename
  15.  
  16. Where 1111 is the width of the picture in bytes and 2222 is the height
  17. of the picture in lines. Filename is where you put the name of the file.
  18. It's important that you use four digits all of the time, or else it
  19. will not work out. For instance, if the picture is 10 bytes wide and
  20. 40 lines high, use 00100040. To change the colourpalette according to
  21. the colours used in the picture, use an iffconverter to save out the
  22. colours separately (don't save them in the picture), and then load the
  23. file into an assembler. Change all of the dc.w's so that the first colour
  24. is the one written to colour five ($dff188, referred to as $0188 in the
  25. dc.w list). Cut out the one written to colour0 ($dff180) through colour4
  26. ($dff186), as these colours are kept unchanged all of the time. Now, you
  27. should have twelve colours in the list. The next step is to remove all
  28. of the colourregister, so you only have the colourvalues left. Assemble
  29. this and write out the file with the same name as the picture name, just
  30. add .f at the end. The file should be 24 bytes long. Remember to use
  31. four bitplanes all of the time, or else the picture will most likely
  32. just look like a mess on the screen.
  33.  
  34. Right, that should be the most important to think of, in according to
  35. keeping the lines shorter than 75 characters. One more thing though,
  36. for all of the commands except the drawline command, you need to put a
  37. space at the end, if not, you will lose the next character on screen
  38. (for instance if you have changed colours) and the code will not find
  39. the correct filename for pictures.
  40.  
  41. Have fun
  42.  
  43.